package com.informationsystem.service.impl;

import com.informationsystem.dao.AuthorityDao;
import com.informationsystem.model.Authority;
import com.informationsystem.service.AuthorityManager;
import com.informationsystem.service.impl.GenericManagerImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import javax.jws.WebService;

@Service("authorityManager")
@WebService(serviceName = "AuthorityService", endpointInterface = "com.informationsystem.service.AuthorityManager")
public class AuthorityManagerImpl extends GenericManagerImpl<Authority, Long> implements AuthorityManager {
    AuthorityDao authorityDao;

    @Autowired
    public AuthorityManagerImpl(AuthorityDao authorityDao) {
        super(authorityDao);
        this.authorityDao = authorityDao;
    }
}